#!/bin/bash

while getopts “abc:” OPTION
do
    case $OPTION in
    a)
        PARAM_A="true"
        ;;
    b)
        PARAM_B="--debug"
        ;;
    c)
        OPTION_C=$OPTARG
        ;;
    ?)
        echo "Unknown option: $OPTION"
        exit 1
        ;;
    esac
done